package www.woniuxy.com.class112.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import www.woniuxy.com.class112.entity.KnowledgeCategories;
import www.woniuxy.com.class112.entity.KnowledgeCategoriesExample;

public interface KnowledgeCategoriesMapper {
    long countByExample(KnowledgeCategoriesExample example);

    int deleteByExample(KnowledgeCategoriesExample example);

    int deleteByPrimaryKey(Long categoryId);

    int insert(KnowledgeCategories record);

    int insertSelective(KnowledgeCategories record);

    List<KnowledgeCategories> selectByExample(KnowledgeCategoriesExample example);

    KnowledgeCategories selectByPrimaryKey(Long categoryId);

    int updateByExampleSelective(@Param("record") KnowledgeCategories record, @Param("example") KnowledgeCategoriesExample example);

    int updateByExample(@Param("record") KnowledgeCategories record, @Param("example") KnowledgeCategoriesExample example);

    int updateByPrimaryKeySelective(KnowledgeCategories record);

    int updateByPrimaryKey(KnowledgeCategories record);
    String knowName(Long id);
}